from abc import ABC, abstractmethod

class BaseSpider(ABC):
    """
    爬虫基类，定义通用接口
    """
    
    @abstractmethod
    def parse_job_list(self, html):
        pass
        
    @abstractmethod
    def extract_age_requirement(self, description):
        pass 